package com.ht.sps.bui.model;

/**
 * 用于SimpleList中的items
 *
 * @author: 薄成文 13-11-1 下午3:12
 * To change this template use File | Settings | File Templates.
 */
public class SimpleListItem extends SimpleItem {
    private boolean disabled = false;
    private boolean selected = false;

    public SimpleListItem(String text, String value) {
        super(text, value);
    }

    public SimpleListItem(String text, String value, boolean disabled) {
        super(text, value);
        this.disabled = disabled;
    }

    public SimpleListItem(String text, String value, boolean disabled, boolean selected) {
        super(text, value);
        this.disabled = disabled;
        this.selected = selected;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
